Wayland: Add initial support for drawing tablets
authorStephen Chandler Paul <thatslyude@gmail.com>
Mon, 19 Jan 2015 00:32:24 +0000 (19:32 -0500)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 6 Apr 2016 14:12:12 +0000 (16:12 +0200)
commit7cc0850a5ae5b399afb33658afa7d2a8d8414837
treec6d1c151a724057b3b7f67e93c57a9fd51d4f1a5
parentd4d032795dba4e6daf8e037ecce13430608a3fb5
Wayland: Add initial support for drawing tablets

Only the management of tablets and tools is added so far. No tablet events
are yet interpreted.

As it's been the tradition in GTK+, erasers are split into their own device,
whereas the rest of the tools are meant to be routed through the
GDK_SOURCE_PEN device. Both pen/eraser devices are slaves to a master
pointer device, separate to wl_pointer's. This is so each tablet can
maintain its own cursor/positioning accounting.

Signed-off-by: Stephen Chandler Paul <thatslyude@gmail.com>
gdk/wayland/Makefile.am
gdk/wayland/gdkdevice-wayland.c
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdisplay-wayland.h